def print_info(url):
    try:
        with open(url, 'r',encoding="UTF-8") as f1:
            for line in f1.readlines():
                if not line.strip():
                    continue
                print(line)
    except Exception as e:
        print(e)
    finally:
        print('print_info_DONE!')

def append_file(url,data):
    try:
        with open(url, 'a',encoding="UTF-8") as f1:
            f1.write(f"\n{data}")
    except Exception as e:
        print(e)
    finally:
        print('append_file_DONE!')

